<template>
  <div class="about-container">
    <div class="logo-container">
      <img class="logo" src="@/assets/img/logo.png" alt="Logo">
    </div>
    <div class="content-container">
      <div class="text-container">
        <div>一款轻量级的接口测试工具</div>
        <div class="text-container-last">希望通过此工具，结识更多的朋友</div>
      </div>
      <div class="qrcode-container">
        <div>
          <img class="qrcode" src="@/assets/img/aliPay.png" alt="Ali-Qrcode"><br>
          <span>支付宝 - 扫一扫支持作者</span>
        </div>
        <div>
          <img class="qrcode" src="@/assets/img/wxPay.png" alt="Wx-Qrcode"><br>
          <span>微信 - 扫一扫支持作者</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'About',
  data () {
    return {}
  }
}
</script>

<style scoped lang="less">
.about-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-flow: column;
  font-size: 16px;
  overflow: hidden;
}

.logo-container {
  width: 100%;
  margin-bottom: 10px;
  position: relative;
  animation: logo 0.5s linear;
}

.logo {
  width: 400px;
}

@keyframes logo {
  0% {
    top: -1000px;
  }
  60% {
    top: 50px;
  }
  100% {
    top: 0;
  }
}

.content-container {
  width: 100%;
  position: relative;
  animation: content 0.5s linear;
}

@keyframes content {
  0% {
    top: 1000px;
  }
  60% {
    top: -50px;
  }
  100% {
    top: 0;
  }
}

.text-container {
  width: 100%;
  text-align: center;
}

.text-container-last {
  padding: 50px;
  color: #979797;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #979797;
}

.qrcode {
  width: 200px;
  margin: 0 50px 10px 50px;
  border-radius: 10px;
}
</style>
